import { defineStore } from "pinia";
import { reactive } from "vue";
 
export const useGlobalStore = defineStore('global',()=>{
       const state = reactive({
            getInfoLoading:false
        })

        function changeLoading(Loading:boolean){
            state.getInfoLoading = Loading
        }
        return {
            state,
            changeLoading
        }
})